home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 52 / Amiga Format AFCD52 (Issue 136, May 2000).iso / -in_the_mag- / multitasking / feature / executive_v2.10 / data / developers.lha / SysInfo / DMakefile next >
Makefile  |  1997-02-23  |  1KB  |  43 lines

  1. #
  2. # DMakefile for DICE link library "sysinfo"
  3. #
  4. # This will place library interfaces for all four permutations of
  5. # small/large data and small/large code into dice/dlib/. This will
  6. # also overwrite include/pragmas/sysinfo_pragmas.h, because some of
  7. # them are malformed and generate bad code with DICE.
  8. #
  9. # (derived from Stefan Beckers DMakefile for screennotify) by B. Möllemann
  10. #
  11. # $Id: DMakefile 1.1 1995/11/21 17:57:32 petrin Exp petrin $
  12. #
  13.  
  14. LIBNAME = SysInfo
  15. SRCS    =
  16. #
  17. SNDIR   = include/
  18. LIBDIR  = dice/
  19. FDFILE  = $(SNDIR)fd/$(LIBNAME)_lib.fd
  20. SLIB    = $(LIBDIR)$(LIBNAME)s.lib
  21. SRLIB   = $(LIBDIR)$(LIBNAME)sr.lib
  22. LLIB    = $(LIBDIR)$(LIBNAME)l.lib
  23. LRLIB   = $(LIBDIR)$(LIBNAME)lr.lib
  24. FTLOPTS = $(FDFILE) -h $(SNDIR)clib/$(LIBNAME)_protos.h \
  25.           -I $(SNDIR) -I DINCLUDE:amiga31 -auto $(LIBNAME).library -v
  26.  
  27. all       : pragma $(SLIB) $(SRLIB) $(LLIB) $(LRLIB)
  28.  
  29. pragma    : $(SNDIR)fd/$(LIBNAME)_lib.fd $(SNDIR)clib/$(LIBNAME)_protos.h
  30.       fdtopragma $(SNDIR)fd/$(LIBNAME)_lib.fd >$(SNDIR)pragmas/$(LIBNAME)_pragmas.h
  31.  
  32. $(SLIB)   : $(FDFILE)
  33.       fdtolib $(FTLOPTS) -md -o %(left)
  34.  
  35. $(SRLIB)  : $(FDFILE)
  36.       fdtolib $(FTLOPTS) -md -mRR -o %(left)
  37.  
  38. $(LLIB)   : $(FDFILE)
  39.       fdtolib $(FTLOPTS) -mD -o %(left)
  40.  
  41. $(LRLIB)  : $(FDFILE)
  42.       fdtolib $(FTLOPTS) -mD -mRR -o %(left)
  43.